#ifndef PLAYER_H
#define PLAYER_H

#include <QString>
#include <QSharedPointer>

class Player
{
public:
    Player();
    Player(const qint16 id, const QString nickname);

    inline qint16 Id() const { return m_Id; }
    void SetId(const qint16 id) { m_Id = id; }

    inline QString Nickname() const {return m_nickname; }
    void SetNickname(const QString nickname) { m_nickname = nickname; }

private:
    qint16 m_Id;
    QString m_nickname;
};

typedef QSharedPointer<Player> PlayerPtr;

#endif // PLAYER_H
